import Layout from '@/views/layout/Layout'


const company_manage = {
  path: '/company_manage',
  component: Layout,
   name: 'company_manage',
  meta: {title: '公司管理', roles: ['1'], icon: 'guanli'},
  children: [
    {
      path: '',
      name: 'company_manage.body',
      component: () => import('@/views/company_manage/body/index'),
      meta: {title: '主体管理', icon: 'subsystem', fullPath: '/company_manage'}
    },
    {
      path: 'body/edit',
      name: 'company_manage.body.edit',
      hidden: true,
      component: () => import('@/views/company_manage/body/edit'),
      meta: {title: '主体修改/添加', icon: 'subsystem', fullPath: '/company_manage/body/edit'}
    },
    {
      path: 'bank_account',
      name: 'company_manage.bank_account',
      component: () => import('@/views/company_manage/bank_account/index'),
      meta: {title: '银行账户管理', icon: 'subsystem', fullPath: '/company_manage/bank_account'}
    },
    {
      path: 'department_manage',
      name: 'company_manage.department_manage',
      component: () => import('@/views/company_manage/department_manage/index'),
      meta: {title: '部门管理', icon: 'subsystem', fullPath: '/company_manage/department_manage'}
    },
    {
      path: 'employee',
      name: 'company_manage.employee',
      component: () => import('@/views/employee'),
      meta: {title: '职员分配部门', roles: ['1', '23'], icon: 'people', fullPath: '/employee'}
    }

  ]
}

export default company_manage
